package com.core.sys.service;

import java.util.List;
import java.util.Map;

import com.core.common.dao.Pager;
import com.core.common.pageModel.Combo;
import com.core.sys.vo.ActiveUserVo;
import com.core.sys.vo.UserVo;

public interface IUserService {

    void save(UserVo userDto) throws Exception;

    void delete(String[] userIdArray);

    void update(UserVo user) throws Exception;

    UserVo getUserByUserId(Long userId);

    String getUserGroupNames(String strUserIds);

    ActiveUserVo getActiveUserByName(String userName) throws Exception;

    Pager<UserVo> getUserList(int pageIndex, int pageSize, String userName, String createdateStart,
            String createdateEnd, String updatedateStart, String updatedateEnd, String[] deptIds,
            String sort, String order);

    Pager<UserVo> getUserList(String userName, String createdateStart,
            String createdateEnd, String updatedateStart, String updatedateEnd, String[] deptIds);

    boolean existUserName(UserVo user);

    List<Combo> getUserComboList(long userId);

}
